package com.engine4cloud.tdf.supervision.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.engine4cloud.tdf.common.data.web.response.PageInfo;
import com.engine4cloud.tdf.supervision.dto.create.TerminalBiologyCreateDTO;
import com.engine4cloud.tdf.supervision.dto.query.TerminalBiologyQueryDTO;
import com.engine4cloud.tdf.supervision.dto.result.JzdxTerminalBiologyResultDTO;
import com.engine4cloud.tdf.supervision.dto.result.TerminalBiologyResultDTO;
import com.engine4cloud.tdf.supervision.dto.update.TerminalBiologyUpdateDTO;
import com.engine4cloud.tdf.supervision.entity.JzdxBiologyFeatureEntity;

public interface JzdxBiologyFeatureService extends IService<JzdxBiologyFeatureEntity> {

    TerminalBiologyResultDTO findOne(String identity);

    Boolean create(TerminalBiologyCreateDTO biology);

    Boolean createOrUpdate(TerminalBiologyCreateDTO biology);

    Boolean update(TerminalBiologyUpdateDTO biology);

    Boolean updateOrCreate(TerminalBiologyUpdateDTO biology);

    PageInfo<JzdxTerminalBiologyResultDTO> pageList(TerminalBiologyQueryDTO dto);
}